Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes restore action item #14

Closed
wants to merge 2 commits into from

Conversation

scottyplunkett
Copy link

Restore action item was causing restore button to be shown in the show view of unarchived items.

@ndbroadbent
Copy link
Collaborator

In case anyone else find this, #13 has a slightly better fix:

  • show Restore button at Show page only if it's archived
  • show Delete button at Show page only if it's archived
  • removed unneeded to_s...constantize sequences

@scottyplunkett
Copy link
Author

@ndbroadbent slightly better?! More like slightly more!
#13 = +42 −26
#14 = +0 -4
(note: I'm JK & not actually offended)

Actually thanks for reminding me this existed! I actually wrote a blog about this at the time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants